/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.niedziela12.pai.ejb.room.managers;

import com.niedziela12.pai.ejb.dto.RoomDTO;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Kamil
 */
@Local
public interface RoomManagerLocal {
    public void addNewRoom(RoomDTO room);
    public void updateRoomInfo(RoomDTO room);
    public void deleteRoom(RoomDTO room);
    public List<RoomDTO> getRooms(int from, int to);
    public List<RoomDTO> getAllRooms();
    public int getRoomsCount();
    public RoomDTO getRoom(Long id);
    public List<RoomDTO> getRoomsInHotel(Long id);
}
